import csv
with open("C:\\Users\\Administrator\\Desktop\\xiaofei.csv", 'r') as f:
    reader = csv.DictReader(f)
    data = [row for row in reader]

province = input('请输入省份：')
item = input('请输入需要查找的项目：')
result = []
for row in data:
    if row['地区'] == province and row:
        result.append(row[item])
if result:
    print('查询结果如下：')
    for row in result:
        print(row)
else:
    print('没有找到符合条件的数据。')